package com.base.cn.platform.os.dao.statistics.goods;

import com.base.cn.platform.os.common.mybatis.BaseDao;
import com.base.cn.platform.os.entity.statistics.goods.ZStatisticsSubjectStudyUVCount;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 专业每天学习UV统计Dao
 *
 * @author s.li
 * @date 2019/04/25
 */
@Mapper
public interface ZStatisticsSubjectStudyUVCountDao extends BaseDao<ZStatisticsSubjectStudyUVCount> {

    /**
     * 学习榜 TOP7之 专业/科目
     * @param clazz
     * @param timeSql 时间条件
     * @return List<ZStatisticsSubjectStudyUVCount>
     */
    List<ZStatisticsSubjectStudyUVCount> querySubjectStudyRankingList(@Param("clazz") Class<ZStatisticsSubjectStudyUVCount> clazz,
                                                                      @Param("timeSql") String timeSql);
}
